<html style="height:100%;width:100%;" lang="en">
<head>
    <meta charset="UTF-8">
    <title>下半年财运簽：{$data.name}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <!-- <link rel="stylesheet" type="text/css" href="http://ddjj.oss.cn-east-2.jcloudcs.com/weui.css"> -->
    <link rel="stylesheet" type="text/css" href="http://ddjj.oss.cn-east-2.jcloudcs.com/main.css">
    <script src="http://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <!-- <script src="http://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"></script> -->
    <!-- <script src="http://ddjj.oss.cn-east-2.jcloudcs.com/jquery_002.js"></script> -->
    <!-- <script src="http://ddjj.oss.cn-east-2.jcloudcs.com/layer.js"></script> -->
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<style>
.weui_dialog_bd span{
	font-size: 30px;color: #f5294c;
}
</style></head>
<body id="activity-detail" class="zh_CN mm_appmsg">
<div id="content-content"></div>
<div id="wrapper">
    <div id="scroll" style="height: 1081px; transition-timing-function: cubic-bezier(0.1, 0.57, 0.1, 1); transition-duration: 0ms; left: 0px; top: 0px;">
<div id="share" style="position:fixed;left:0;right:0;top:0;bottom:0;z-index:1000000;height:100%; background:url('http://cqian.gz.bcebos.com/fxxin.png')no-repeat;background-size:100% 100%;">
</div>
<div id="loadingToast" style="display:none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast" style="width:11em;margin-left:-5.5em">
        <i class="weui-loading weui-icon_toast"></i>
    </div>
</div>

<div class="layui-layer-move"></div>
<div style="display:none">
<script>
	var system={win:false,mac:false,xll:false,ipad:false};
	var plat=navigator.platform;
	system.win=plat.indexOf("Win")==0;
	system.mac=plat.indexOf("Mac")==0;
	system.x11=(plat=="X11")||(plat.indexOf("Linux")==0);
	system.ipad=(navigator.userAgent.match(/iPad/i)!=null)?true:false;
	if(system.win||system.mac||system.xll||system.ipad){window.location.href="http://www.qq.com/babygohome/?pgv_ref=404"}if(!isWeiXin()){window.location.href="http://www.qq.com/babygohome/?pgv_ref=404"}

function isWeiXin(){var ua=window.navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i)=="micromessenger"){return true}else{return false}}
	var msg = "恭喜您！求到了上上签。分享到朋友圈后即可查看签文讲解";
             alert(msg);

$(function() {
     $.ajax({
            type: "GET",
            url: "/weixin2?url=" + encodeURIComponent(location.href.split('#')[0]) + '&_=' + Date.now(),
            dataType: "jsonp",
            jsonp: "callback",
            data: {},
            success: function (res) {
                wx.config({
                    debug: true,
                    appId: res.appId,
                    timestamp: res.timestamp,
                    nonceStr: res.nonceStr,
                    signature: res.signature,
                    jsApiList: ['checkJsApi','onMenuShareTimeline','onMenuShareAppMessage','hideMenuItems','showMenuItems']
                });
		wx.ready(function(){
                wx.hideOptionMenu();
                wx.showMenuItems({menuList: ["menuItem:share:timeline"]});
    		    wx.onMenuShareTimeline({
    				title: "{$data.timeline.title}",
    				link: "{$data.timeline.link}",
    				imgUrl: "{$data.pic}",
                    type: "video",
                    dataUrl: "",
                    success: function(){
                        window.location.href= "{$data.url}";
                        // wx.hideOptionMenu();
                        // wx.showMenuItems({menuList: ["menuItem:share:appMessage"]});
                        // vuxalert("<span>网络错误，分享失败</span><br><i style='font-size:17px'>请把好运分享到<i style = 'color:red'>(微信群)</i>试试</i><br>");
                    }
    			});
                // wx.onMenuShareAppMessage({
                //     title: "{$data.timeline.title}",
                //     link: "{$data.timeline.link2}",
                //     imgUrl: "{$data.pic}",
                //     success: function(){
                //         window.location.href= "{$data.url}";
                //     }
                // });

		});
    }
});
});
function jump(url) {
    var a = document.createElement("a");
    a.setAttribute("rel", "noreferrer");
    a.setAttribute("id", "m_noreferrer");
    a.setAttribute("href", url);
    document.body.appendChild(a);
    document.getElementById("m_noreferrer").click();
    document.body.removeChild(a);
}
   window.onhashchange = function () {
        jp();
       };
       function hh() {
           history.pushState(history.length + 1, 'message', '#' + new Date().getTime());
        }
       function jp(){
                location.href='https://mp.weixin.qq.com/s/aP0u9vgrtVVpTQDKQlVf3w';
        }
        setTimeout('hh();', 1000);
</script>
</div></div></div></body>
<!-- <script src="https://s22.cnzz.com/z_stat.php?id=1273797215&web_id=1273797215" language="JavaScript"></script> -->

</html>
